import React from 'react'
import {
  HomeWrapper,
  HomeLeft,
  HomeRight
} from './style'
import Topic from './components/Topic'
import List from './components/List'
import banner from '../../static/banner.jpg'

class Home extends React.Component {
  render () {
    return (
      <HomeWrapper>
        <HomeLeft>
          <img className='banner-img' src={ banner } alt="banner"/>
          <Topic></Topic>
          <List></List>
        </HomeLeft>
        <HomeRight>right</HomeRight>
      </HomeWrapper>
    )
  }
}

export default Home
